﻿
	<?php 
		$connect = @mysql_connect("localhost","root","root") or die ("Unable to connect database server!"); 
		mysql_query("SET NAMES 'utf8'");
		//$select = mysql_select_db('test' , $connect); 
		
		//echo $_SERVER['REQUEST_METHOD'];
		$sql = "select * from china_region limit ".$_POST["size"].",10;";
		
		$query = mysql_db_query('test' , $sql , $connect); 
		
		while($row = mysql_fetch_row($query)) 
		{ 
			echo $row[0] . " | " . $row[2] . "<br>"; 
		} 
	?> 